﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>日历</title>
</head>
<body>
</body>
</html>
<link href="@(Url.Content("~/Content/scheduler.css"))" rel="stylesheet" />
<script src="@(Url.Content("~/Scripts/scheduler.core.js"))" type="text/javascript"></script>
<script src="@(Url.Content("~/Scripts/scheduler.utility.js"))" type="text/javascript"></script>
<script src="@(Url.Content("~/Scripts/scheduler.calendar.js"))" type="text/javascript"></script>
<script type="text/javascript">
    var scheduler = new Lscheduler.init({
        viewType: "day",
        interval: 15,
        service: {
            create: "@(Url.Action("CreateActivity", "Scheduler"))"
        }
    });
    @*    Lscheduler.ajax({
        url: "@(Url.Action("MyMethod", "Scheduler"))",
        type: "POST",
        data: { id: 2, name: "马益飞" },
        success: function (result) {
            alert(1);
        }
    });*@
</script>
